Skip to content

Keep main aligned with Lovable database security fixes - #89

Merged
criptogus merged 1 commit into
mainfrom
fix/lovable-security-main-20261123
Nov 23, 2026
Merged

criptogus merged 1 commit into
mainfrom
fix/lovable-security-main-20261123

Conversation

@criptogus

Copy link
Copy Markdown
Owner

Summary

- Broad client execution of internal RPCs and unconditional plan reads
+ Restricted RPC grants, pinned email paths, RLS invoker reads and explicit public plans
+ Blocking RPC security check, rollback role tests and reusable database review skill

Cherry-picks the security fix from #88 onto main without merging the divergent Lovable branch. Preserves purchase, referral and team authorization. No database size, plan, price or subscription changes.

Evidence

  • Before: live catalogue probes failed client CRM denial, pinned email path and conditional plans access.
  • After: migration dry-run and applied migration both passed rollback-only anonymous/authenticated/service-role probes; all five live boundary verdicts passed.
  • Production-branch local validation: all 12 checks passed, including 457 tests. This PR must pass its own CI before merge.

Merge Danger

Door: Two-way. SQL permissions and policies are reversible; rollback would reintroduce exposure. Migration 20261123193000 is already applied and recorded.

Blast Radius: Database. Same reviewed migration and caller changes as #88; Lovable still deploys its existing branch.

@criptogus
criptogus merged commit 49fc8af into main Nov 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant